package com.chris.libs.example.pages.ext.http2;

import android.content.Context;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import androidx.recyclerview.widget.RecyclerView;

import com.chris.libs.base.x.mvpp.recycler.BaseRecyclerHolder;
import com.chris.libs.base.x.mvpp.viewholder.BaseViewHolder;
import com.chris.libs.example.R;
import com.chris.libs.example.model.results.UserInfo;

import javax.inject.Inject;

import butterknife.BindView;

/**
 * @author Chris Chan
 * Create on: 2025-02-04 22:20
 * Use for: Http2 界面元素持有者
 * Explain:
 */
public class Http2ViewHolders {
    /**
     * 主界面 ViewHolder
     */
    public static class MainViewHolder extends BaseViewHolder {
        @BindView(R.id.rv_data)
        public RecyclerView rvData;

        @Inject
        public MainViewHolder() {
        }
    }

    /**
     * ItemData ViewHolder
     */
    public static class ItemDataRvViewHolder extends BaseRecyclerHolder<UserInfo> {
        @BindView(R.id.tv_title)
        TextView tvTitle;
        @BindView(R.id.iv_icon)
        ImageView ivIcon;

        public ItemDataRvViewHolder(Context context, View itemView) {
            super(context, itemView);
        }

        @Override
        public void refreshView(UserInfo item) {

        }
    }


}
